<?php
defined('_JEXEC') or die;

// Include the syndicate functions only once
require_once dirname(__FILE__).'/helper.php';

$list	= modProductsSliderHelper::getList($params);
define('COM_MEDIA_BASEURL', JURI::root().'/images/products/');
if(count($list)) {
	require JModuleHelper::getLayoutPath('mod_products_slider', $params->get('layout', 'default'));
}